<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateAkbusMileageRefreshLogTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('akbus_mileage_refresh_log', function (Blueprint $table) {
            $table->id();
            $table->date('startDay')->nullable()->comment('开始日期');
            $table->date('lastDay')->nullable()->comment('结束日期');
            $table->string('operator')->nullable()->comment('操作人');
            $table->string('status')->nullable()->comment('操作结果:成功或者失败');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('akbus_mileage_refresh_log');
    }
}
